package com.aizhixin.lab.project.course.repository;

import com.aizhixin.lab.project.course.entity.ReleaseProjectReply;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ReleaseProjectReplyRepository extends JpaRepository<ReleaseProjectReply,String> {
    ReleaseProjectReply findByIdAndDeleteFlag(String id,Integer deleteFlag);
    List<ReleaseProjectReply> findByProjectIdAndDeleteFlagOrderByCreateDateAsc(String id,Integer deleteFlag);
}
